<?php

namespace app\admin\model;

use think\Model;

class Page extends Model
{
    protected $pk = 'page_id';
    //数据输出显示属性
    public static $showField = ['page_id', 'page_info', 'pid'];

    public function funcs(){
        $this->belongsToMany(Func::class,Auth::class,'func_id', 'page_id');
    }
}